﻿<Window x:Class="AirlinePilotAcademy_WPF.UI_Administrator.Students.NewStudent"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Añadir Nuevo Estudiante" Height="700" Width="900" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" Icon="/AirlinePilotAcademy_WPF;component/Images/LoginIcon.png">
    <Window.Background>
        <ImageBrush ImageSource="/AirlinePilotAcademy_WPF;component/Images/Background.png"/>
    </Window.Background>
    <Grid>
        <Label Name="titleL" Content="Añadir Nuevo Estudiante" HorizontalAlignment="Left" Margin="491,0,0,0" VerticalAlignment="Top" FontFamily="Kunstler Script" FontSize="48" Width="391" Foreground="#FF87B42C"/>
        <Label Content="Apellido Paterno *" HorizontalAlignment="Left" Margin="60,115,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Apellido Materno *" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="60,156,0,0" Foreground="White" FontSize="14"/>
        <Label Content="Nombres *" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="60,207,0,0" Foreground="White" FontSize="14"/>
        <Label Content="Sexo *" HorizontalAlignment="Left" Margin="60,253,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Fecha de Nacimiento *" HorizontalAlignment="Left" Margin="60,306,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Lugar de Nacimiento *" HorizontalAlignment="Left" Margin="60,360,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="CI *" HorizontalAlignment="Left" Margin="60,418,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Expedido En *" HorizontalAlignment="Left" Margin="60,471,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Profesion *" HorizontalAlignment="Left" Margin="60,539,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Licencia Aeronautica *" HorizontalAlignment="Left" Margin="60,590,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Domicilio *" HorizontalAlignment="Left" Margin="401,115,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Zona *" HorizontalAlignment="Left" Margin="401,156,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Telefono - Celular *" HorizontalAlignment="Left" Margin="401,207,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Email *" HorizontalAlignment="Left" Margin="401,253,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Nombre del Padre" HorizontalAlignment="Left" Margin="401,306,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Profesion del Padre" HorizontalAlignment="Left" Margin="401,360,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Nombre de la Madre" HorizontalAlignment="Left" Margin="401,418,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Profesion de la Madre" HorizontalAlignment="Left" Margin="401,471,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <Label Content="Observaciones" HorizontalAlignment="Left" Margin="401,539,0,0" VerticalAlignment="Top" Foreground="White" FontSize="14"/>
        <TextBox Name="lastnameTB" HorizontalAlignment="Left" Height="23" Margin="236,121,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15" PreviewTextInput="lastnameTB_PreviewTextInput"/>
        
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Name="mlastnameTB" HorizontalAlignment="Left" Height="23" Margin="243,162,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Name="nameTB" HorizontalAlignment="Left" Height="23" Margin="236,213,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15"/>
        <ComboBox Name="sexCB" HorizontalAlignment="Left" Margin="236,260,0,0" VerticalAlignment="Top" Width="120">
            <ComboBoxItem Content="M" IsSelected="True" />
            <ComboBoxItem Content="F" />
        </ComboBox>
        <DatePicker Name="birthdayDP" HorizontalAlignment="Left" Margin="236,311,0,0" VerticalAlignment="Top" Width="120" DisplayDate="1980-10-11" SelectedDate="1960-01-01"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Name="birthplaceTB" HorizontalAlignment="Left" Height="23" Margin="236,360,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15"/>
        <TextBox Name="idTB" PreviewTextInput="onlyDigits_PreviewTextInput" HorizontalAlignment="Left" TextChanged="TextBox_idValidation" Height="23" Margin="236,424,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="10"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Name="issuedInTB" HorizontalAlignment="Left" Height="23" Margin="236,477,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Name="professionTB" HorizontalAlignment="Left" Height="23" Margin="236,543,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="25"/>
        <TextBox Name="liceAeroTB" HorizontalAlignment="Left" PreviewTextInput="onlyDigits_PreviewTextInput" Height="23" Margin="236,596,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15"/>
        <TextBox Name="addressTB" HorizontalAlignment="Left" Height="23" Margin="560,115,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="30"/>
        <TextBox Name="zoneTB" HorizontalAlignment="Left" Height="23" Margin="560,160,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="20"/>
        <TextBox Name="telephoneTB" HorizontalAlignment="Left" PreviewTextInput="onlyDigits_PreviewTextInput" Height="23" Margin="560,211,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="20"/>
        <TextBox Name="emailTB" HorizontalAlignment="Left" Height="23" Margin="560,260,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="30"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Text="opcional" Name="fNameTB" HorizontalAlignment="Left" Height="23" Margin="560,312,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="20" FontSize="10"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Text="opcional" Name="fProfessionTB" HorizontalAlignment="Left" Height="23" Margin="560,365,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="25" FontSize="10"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Text="opcional" Name="mNameTB" HorizontalAlignment="Left" Height="23" Margin="560,424,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="20" FontSize="10"/>
        <TextBox PreviewTextInput="lastnameTB_PreviewTextInput" Text="opcional" Name="mProfessionTB" HorizontalAlignment="Left" Height="23" Margin="560,477,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="15" FontSize="10"/>
        <TextBox Name="observationsTB" HorizontalAlignment="Left" Text="opcional" Height="62" Margin="560,539,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" MaxLength="50" FontSize="10"/>
        <Button Content="Guardar" x:Name="SaveB" IsDefault="True" HorizontalAlignment="Left" Margin="752,273,0,0" VerticalAlignment="Top" Width="90" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" Click="SaveB_Click"/>
        <Button Content="Modificar" x:Name="ModifyB" IsDefault="True" HorizontalAlignment="Left" Margin="752,273,0,0" VerticalAlignment="Top" Width="90" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" Click="ModifyB_Click"/>
        <Button Content="Cancelar" x:Name="CancelB" HorizontalAlignment="Left" Margin="752,376,0,0" VerticalAlignment="Top" Width="90" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" Click="CancelB_Click"/>
        <Label  Foreground="Red" HorizontalAlignment="Left" Margin="401,620,0,0" VerticalAlignment="Top" FontSize="14" Name="messageL" RenderTransformOrigin="2.8,3.9"/>
        <Button Name="CleanB" Content="Limpiar" HorizontalAlignment="Left" Margin="752,555,0,0" VerticalAlignment="Top" Width="90" Height="46" Click="CleanB_Click"/>

    </Grid>
</Window>
